package learn.test;

import java.util.concurrent.ConcurrentHashMap;

/**
 * @Description
 * @User zero
 * @Datetime 2021/4/26 21:31
 */
public class test {


    public static void main(String[] args) {
        ConcurrentHashMap<String, Integer> map = new ConcurrentHashMap<>();
        map.put("xx",1);
        new Thread(new TaskA(map)).start();
        new Thread(new TaskB(map)).start();
    }



}
